package com.tj.jinzao.api;

import com.tj.jinzao.manager.ExitBind;
import com.tj.jinzao.model.Address;
import com.tj.jinzao.model.Article;
import com.tj.jinzao.model.Broadcast;
import com.tj.jinzao.model.Case;
import com.tj.jinzao.model.Circle;
import com.tj.jinzao.model.Comment;
import com.tj.jinzao.model.CommentBean;
import com.tj.jinzao.model.CommentMessageBean;
import com.tj.jinzao.model.CreateLiveBean;
import com.tj.jinzao.model.DeleteMessage;
import com.tj.jinzao.model.DetectQuestion;
import com.tj.jinzao.model.ExchangeRecord;
import com.tj.jinzao.model.FamilyMember;
import com.tj.jinzao.model.FollowFan;
import com.tj.jinzao.model.FriendBean;
import com.tj.jinzao.model.GiftBean;
import com.tj.jinzao.model.Goods;
import com.tj.jinzao.model.GroupBean;
import com.tj.jinzao.model.Health;
import com.tj.jinzao.model.HealthReport;
import com.tj.jinzao.model.Identification;
import com.tj.jinzao.model.Label;
import com.tj.jinzao.model.LiveBean;
import com.tj.jinzao.model.LivePersonBean;
import com.tj.jinzao.model.LiveStartBean;
import com.tj.jinzao.model.LiveUserBean;
import com.tj.jinzao.model.Message;
import com.tj.jinzao.model.MessageBean;
import com.tj.jinzao.model.Mission;
import com.tj.jinzao.model.Occupation;
import com.tj.jinzao.model.QuestionModelBean;
import com.tj.jinzao.model.ReportBean;
import com.tj.jinzao.model.ResultResponse;
import com.tj.jinzao.model.Sign;
import com.tj.jinzao.model.Target;
import com.tj.jinzao.model.User;

import java.util.List;
import java.util.Map;

import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.Field;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.PUT;
import retrofit2.http.Path;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;
import rx.Observable;

/**
 * Created by wjy on 2017/5/6.
 */
public interface ApiService {


    //获取验证码
    @GET("api/WebUser/Sms")
    Observable<ResultResponse<Object>> sendCode(@Query("mobile") String phone,
                                                @Query("type") String type);
    //绑定手机号
    @PUT("api/WebUser/BindingMobile/{id}")
    Observable<ResultResponse<User>> bindPhone(@Path("id") long id,
                                                 @QueryMap Map<String, Object> map);

    //通过验证码登录
    @FormUrlEncoded
    @POST("api/WebUser/Login/SmsCode")
    Observable<ResultResponse<User>> loginBySmsCode(@Field("mobile") String phone,
                                                    @Field("smsCode") String code);

    //密码登录
    @FormUrlEncoded
    @POST("api/WebUser/Login")
    Observable<ResultResponse<User>> loginByPassword(@Field("mobile") String phone,
                                                     @Field("password") String password);

    //设置密码
    @PUT("api/WebUser/SetPassword/{id}")
    Observable<ResultResponse<Boolean>> setPassword(@Path("id") long id,
                                                    @QueryMap Map<String, Object> map);

    //重置密码
    @FormUrlEncoded
    @PUT("api/WebUser/ReSetPassword")
    Observable<ResultResponse<Boolean>> resetPassword(@Field("token") String token,
                                                      @Field("mobile") String mobile,
                                                      @Field("smsCode") String smsCode,
                                                      @Field("password") String password);
    //绑定手机
    @PUT("api/WebUser/BindingMobile/{id}")
    Observable<ResultResponse<User>> getBindPhone(@Path("id") long id,
                                                  @QueryMap Map<String, Object> map);
    //取消绑定微信
    @PUT("api/WebUser/cancel/external")
    Observable<ResultResponse<ExitBind>> getExitBind(@QueryMap Map<String, Object> map);

    //绑定微信
    @PUT("api/WebUser/bind-weixin")
    Observable<ResultResponse<ExitBind>> getBindWX(@QueryMap Map<String, Object> map);


    //绑定手机
    @FormUrlEncoded
    @PUT("api/WebUser/BindingMobile/{id}")
    Observable<ResultResponse<User>> bindPhone(@Field("id") long id,
                                                  @Field("mobile") String mobile,
                                                  @Field("smsCode") String smsCode,
                                                  @Field("password") String password);

    //绑定邀请码
    @FormUrlEncoded
    @POST("api/WebUser/RequestCode/{requestCode}")
    Observable<ResultResponse<String>> bindRequestCode(@Field("uid") long uid,
                                                        @Path("requestCode") String requestCode);

    //根据邀请码获取用户
    @GET("api/WebUser/RequestCode/{requestCode}")
    Observable<ResultResponse<User>> getUserByRequestCode(@Path("requestCode") String requestCode);

    //验证码校验(返回更新密码所用token)
    @FormUrlEncoded
    @PUT("api/WebUser/validateSmsCode")
    Observable<ResultResponse<String>> validateCode(@Field("mobile") String mobile,
                                                    @Field("smsCode") String smsCode);

    @GET("api/WebUser/OpenId")
    Observable<ResultResponse<User>> getUserByOpenId(@Query("openid") String openid);

    //更新个人资料
    @PUT("api/WebUser/{id}")
    Observable<ResultResponse<User>> updateUserInfo(@Path("id") long id,
                                                    @QueryMap Map<String, Object> map);

    //根据id获取个人资料
    @GET("api/WebUser/{id}")
    Observable<ResultResponse<User>> getUserInfo(@Path("id") long id);

    //根据云信id获取个人资料
    @GET("api/WebUser/yunxin-account/{yunxinAccount}")
    Observable<ResultResponse<User>> getUserInfoYunXin(@Path("yunxinAccount") String id);


    //获取我的粉丝
    @GET("api/UserFollow/Page")
    Observable<ResultResponse<List<FollowFan>>> getUserFans(@Query("currentPage") int currentPage,
                                                            @Query("followUid") long uId);

    //获取我关注的人
    @GET("api/UserFollow/Page")
    Observable<ResultResponse<List<FollowFan>>> getUserFollow(@Query("currentPage") int currentPage,
                                                              @Query("uid") long uId);
    //获取个人目标选项列表
    @GET("api/BasePersonalGoal/List")
    Observable<ResultResponse<List<Target>>> getTargetList();

    //获取咨询师用户标签
    @GET("api/tag/list")
    Observable<ResultResponse<List<Target>>> getTargetUserList();

    //判断是否关注
    @GET("api/UserFollow/has-follow")
    Observable<ResultResponse<Boolean>> getIsFollow(@Query("uid") long uid,
                                                    @Query("followUid") long followUid);

    //获取病例列表
    @GET("api/UserCase/List")
    Observable<ResultResponse<List<Target>>> getBLList(@Query("uid") long id);

    //获取身体状况选项列表
    @GET("api/BasePhysicalConditions/List")
    Observable<ResultResponse<List<Target>>> getPhysicalList();

    //获取家庭成员列表
    @GET("api/FamilyMember/List")
    Observable<ResultResponse<List<FamilyMember>>> getFamilyMemberList(@Query("uid") long id);

    //根据ID获取家庭成员信息
    @GET("api/FamilyMember/{id}")
    Observable<ResultResponse<FamilyMember>> getFamilyMember(@Path("id") long id);

    //添加家庭成员
    @FormUrlEncoded
    @POST("api/FamilyMember")
    Observable<ResultResponse<List<FamilyMember>>> addFamilyMember(@Field("uid") long id,
                                                                   @Field("name") String name);

    //添加家庭成员
    @POST("api/FamilyMember")
    Observable<ResultResponse<FamilyMember>> addFamilyMember(@QueryMap Map<String, Object> map);

    //给用户打标签
    @POST("api/WebUser/add-tag")
    Observable<ResultResponse<FamilyMember>> addLable(@QueryMap Map<String, Object> map);

    //根据ID更新家庭成员
    @FormUrlEncoded
    @PUT("api/FamilyMember/{id}")
    Observable<ResultResponse<FamilyMember>> updateFamilyMember(
            @Path("id") long id,
            @FieldMap Map<String, Object> map);

    //获取问诊问题列表
    @GET("api/questions")
    Observable<ResultResponse<List<DetectQuestion>>> getQuestionList();

    //获取问诊问题列表
    @GET("api/report/{report_id}")
    Observable<ResultResponse<List<Article>>> getReportDetail(@Path("report_id") long id);

    //智能诊断
    @POST("api/examinations")
    Observable<ResultResponse<String>> examinations(@Body RequestBody body);

    //签到
    @FormUrlEncoded
    @POST("api/UserCheckIn")
    Observable<ResultResponse<Sign>> sign(@Field("uid") long uid,
                                          @Field("checkDay") String checkDay);

    //获取签到列表
    @GET("api/UserCheckIn/List")
    Observable<ResultResponse<List<Sign>>> getSignList(@Query("uid") long uid,
                                                       @Query("month") String month);

    //签到
    @GET("api/UserCheckIn/Task/{uid}")
    Observable<ResultResponse<List<Mission>>> getMissionList(@Path("uid") long uid);

    //新增家庭成员健康报告
    @FormUrlEncoded
    @POST("api/HealthReport")
    Observable<ResultResponse<HealthReport>> addHealthReport(@Query("uid") long uid,
                                                             @Query("reportJson") String reportJson,
                                                             @Query("familyId") long familyId);

    //新增个人健康报告
    @FormUrlEncoded
    @POST("api/HealthReport")
    Observable<ResultResponse<HealthReport>> addHealthReport(@FieldMap Map<String, Object> map);

    //获取健康报告列表
    @GET("api/HealthReport/List")
    Observable<ResultResponse<List<Health>>> getHealthReportList(@Query("uid") long uid);

    //获取家庭成员健康报告列表
    @GET("api/HealthReport/List")
    Observable<ResultResponse<List<Health>>> getHealthReportList(@Query("uid") long uid,
                                                                 @Query("familyId") long familyId);

    //获取积分商品列表
    @GET("api/ScoreProduct/List")
    Observable<ResultResponse<List<Goods>>> getGoodsList();

    //获取收货信息列表
    @GET("api/UserAddress/List")
    Observable<ResultResponse<List<Address>>> getAddressList(@Query("uid") long uid);

    //根据ID删除收货信息
    @DELETE("api/UserAddress/{id}")
    Observable<ResultResponse<Address>> deleteAddress(@Path("id") int id);

    //设置默认
    @FormUrlEncoded
    @POST("api/UserAddress/SetDefault")
    Observable<ResultResponse<String>> setDefaultAddress(@Field("id") int id);

    //新增收货信息
    @FormUrlEncoded
    @POST("api/UserAddress")
    Observable<ResultResponse<Address>> addAddress(@Field("uid") long uid,
                                                   @Field("name") String name,
                                                   @Field("mobile") String mobile,
                                                   @Field("province") String province,
                                                   @Field("city") String city,
                                                   @Field("area") String area,
                                                   @Field("detail") String detail);

    //更新收货信息
    @FormUrlEncoded
    @PUT("api/UserAddress/{id}")
    Observable<ResultResponse<Address>> updateAddress(@Path("id") int id,
                                                      @Field("name") String name,
                                                      @Field("mobile") String mobile,
                                                      @Field("province") String province,
                                                      @Field("city") String city,
                                                      @Field("area") String area,
                                                      @Field("detail") String detail);

    //新增病例
    @FormUrlEncoded
    @POST("api/UserCase")
    Observable<ResultResponse<Case>> addCase(@Field("uid") long uid,
                                             @Field("name") String name,
                                             @Field("imgurls") String imgurls);

    //获取病例列表
    @GET("api/UserCase/List")
    Observable<ResultResponse<List<Case>>> getCaseList(@Query("uid") long uid);

    //获取病例列表
    @GET("api/UserCase/{id}")
    Observable<ResultResponse<Case>> getCase(@Path("id") long id);

    //根据id获取健康报告分数
    @GET("api/HealthReport/display-score/{id}")
    Observable<ResultResponse<String>> getHealthScore(@Path("id") long id);


    //获取实名信息
    @GET("api/WebUser/RealAuth")
    Observable<ResultResponse<Identification>> getRealAuth(@Query("uid") long uid);

    //发送实名信息
    @FormUrlEncoded
    @POST("api/WebUser/RealAuth")
    Observable<ResultResponse<Identification>> sendRealAuth(@Field("uid") long uid,
                                                            @Field("realName") String realName,
                                                            @Field("idCard") String idCard,
                                                            @Field("frontSideImgurl") String frontSideImgurl,
                                                            @Field("backSideImgurl") String backSideImgurl,
                                                            @Field("handHeldImgurl") String handHeldImgurl);
    //获取职业选项
    @GET("api/Job/List")
    Observable<ResultResponse<List<Occupation>>> getOccupationList();


    //直播申请
    @FormUrlEncoded
    @POST("api/LiveBroadcast")
    Observable<ResultResponse<Broadcast>> applyLiveBroadcast(@Field("uid") long uid,
                                                             @Field("liveTime") String liveTime,
                                                             @Field("title") String title,
                                                             @Field("password") String password,
                                                             @Field("imgurl") String imgurl);

    //发送职称信息
    @FormUrlEncoded
    @POST("api/WebUser/Job")
    Observable<ResultResponse<Object>> sendJobAuth(@Field("uid") long uid,
                                                   @Field("job") String job,
                                                   @Field("jobItem") String jobItem,
                                                   @Field("imgurls") String imgurls);

    //发送职称信息
    @GET("api/Job/List")
    Observable<ResultResponse<List<Occupation>>> getJobList();

    //获取收货信息列表
    @GET("api/ScoreOrder/List")
    Observable<ResultResponse<List<ExchangeRecord>>> getExchangeList(@Query("uid") long uid);

    //兑换
    @FormUrlEncoded
    @POST("api/ScoreOrder")
    Observable<ResultResponse<String>> exchange(@Field("uid") long uid,
                                                @Field("productId") int productId,
                                                @Field("addressId") int addressId);

//    //根据ID获取健康报告信息
    @GET("api/HealthReport/{id}")
    Observable<ResultResponse<Health>> getHealthReport(@Path("id") long id);

    //根据ID获取健康报告信息
    @GET("api/report/{report_id}")
    Observable<ResultResponse<Health>> getHealthReportId(@Path("report_id") long id);

    //获取话题日志列表(分页)
    @GET("api/Circle/Page")
    Observable<ResultResponse<List<Article>>> getArticleList(@QueryMap Map<String, Object> map);

    //相关推荐
    @GET("api/Circle/recommond")
    Observable<ResultResponse<List<Article>>> getArticleListTJ(@QueryMap Map<String, Object> map);


    //获取好友列表(分页)
    @GET("api/WebUser/find-user")
    Observable<ResultResponse<List<FriendBean>>> getFriendList(@QueryMap Map<String, Object> map);


    //添加好友
    @POST("api/user-friend")
    Observable<ResultResponse<List<FriendBean>>> getAddFriend(@QueryMap Map<String, Object> map);


    //获取指定咨询师下的用户列表(分页)
    @GET("api/WebUser/counsoler-user")
    Observable<ResultResponse<List<FriendBean>>> getFriend(@QueryMap Map<String, Object> map);

    //获取咨询师列表(分页)
    @GET("api/WebUser/find-counselor")
    Observable<ResultResponse<List<FriendBean>>> getZXSFriend(@QueryMap Map<String, Object> map);

    //获取直播列表(分页)
    @GET("api/live/page")
    Observable<ResultResponse<List<LiveBean>>> getLive(@QueryMap Map<String, Object> map);


    //进入直播间
    @POST("api/live/in")
    Observable<ResultResponse<LiveBean>> goLive(@QueryMap Map<String, Object> map);

    //开播
    @POST("api/live")
    Observable<ResultResponse<LiveStartBean>> getStartLive(@QueryMap Map<String, Object> map);


    //微信登录
    @POST("api/WebUser/third/weixin")
    Observable<ResultResponse<User>> getWXLogin(@QueryMap Map<String, Object> map);


    //好友列表(分页)
    @GET("api/user-friend/list")
    Observable<ResultResponse<List<FriendBean>>> getFriendListMM(@QueryMap Map<String, Object> map);

    //咨询师评价
    @POST("api/user-eva")
    Observable<ResultResponse<CommentBean>> getComment(@QueryMap Map<String, Object> map);

    //获取用户是否有权限检测权限
    @POST("api/WebUser/allow-detection")
    Observable<ResultResponse<String>> getJC(@QueryMap Map<String, Object> map);


    //获取用户是否有权限检测权限
    @POST("api/Circle/allow-ht")
    Observable<ResultResponse<String>> getJCS(@QueryMap Map<String, Object> map);

    //创建群
    @POST("api/live/application")
    Observable<ResultResponse<CreateLiveBean>> createLive(@QueryMap Map<String, Object> map);


    //用户职称认证
    @POST("api/WebUser/Job")
    Observable<ResultResponse<Message>> getTrue(@QueryMap Map<String, Object> map);


    //申请直播
    @POST("api/ChatGroup")
    Observable<ResultResponse<GroupBean>> createGroup(@QueryMap Map<String, Object> map);

    //获取咨询师列表(分页)
    @GET("api/WebUser/find-counselor")
    Observable<ResultResponse<List<FriendBean>>> getTalk(@QueryMap Map<String, Object> map);

    //获取微信图片
    @GET("api/share-image")
    Observable<ResultResponse<String>> getWXImageUrl();

    //获取一级目录
    @GET("api/app-help/main")
    Observable<ResultResponse<List<QuestionModelBean>>> getMUL();

    //获取一级目录
    @GET("api/app-help/list")
    Observable<ResultResponse<List<QuestionModelBean>>> getMULTWO(@QueryMap Map<String, Object> map);

    //获取一级目录
    @GET("api/app-help/{id}")
    Observable<ResultResponse<QuestionModelBean>> getMULTWODetail(@Path("id") int id);


    @DELETE("api/FamilyMember/{id}")
    Observable<ResultResponse<FamilyMember>> deleteMember(@Path("id") int id);

    @DELETE("api/Circle/{id}")
    Observable<ResultResponse<DeleteMessage>> deleteMessage(@Path("id") int id);


    @DELETE("api/Circle/comment/{id}")
    Observable<ResultResponse<DeleteMessage>> deleteComment(@Path("id") int id);

    //删除健康报高
    @DELETE("api/HealthReport/{id}")
    Observable<ResultResponse<DeleteMessage>> deleteReport(@Path("id") Long id);

    //获取二维码地址
    @GET("api/WebUser/qr")
    Observable<ResultResponse<String>> getQR(@QueryMap Map<String, Object> map);

    //举报
    @POST("api/reported")
    Observable<ResultResponse<ReportBean>> getReport(@QueryMap Map<String, Object> map);


    //不感兴趣
    @POST("api/user-lose-interest")
    Observable<ResultResponse<ReportBean>> getInterest(@QueryMap Map<String, Object> map);


    //分配咨询师(分页)
    @POST("api/WebUser/replace/counselor")
    Observable<ResultResponse<FriendBean>> getTalkFP(@QueryMap Map<String, Object> map);

    //送礼物
    @POST("api/user-gift")
    Observable<ResultResponse<String>> setGift(@QueryMap Map<String, Object> map);


    //获取我关注的话题日志列表(分页)
    @GET("api/Circle/My/FollowPage")
    Observable<ResultResponse<List<Article>>> getMyFollowArticleList(@Query("currentPage") int currentPage,
                                                                     @Query("loginUid") long uid);

    //获取我收藏的话题日志列表(分页)
    @GET("api/Circle/My/LikePage")
    Observable<ResultResponse<List<Article>>> getMyCollectArticleList(@QueryMap Map<String, Object> map);

    //搜索话题
    @GET("api/search")
    Observable<ResultResponse<List<Article>>> searchArticle(@Query("currentPage") int currentPage,
                                                            @Query("keyWord") String keyWord);


    //根据ID获取话题日志信息
    @GET("api/Circle/{id}")
    Observable<ResultResponse<Article>> getArticleById(@Path("id") long id,
                                                       @Query("loginUid") long uid);

    //根据云信ID获取用户信息
    @GET("api/WebUser/yunxin-account/{yunxinAccount}")
    Observable<ResultResponse<User>> getYunXinById(@Path("yunxinAccount") String id);

    //话题日记回复
    @FormUrlEncoded
    @POST("api/Circle/Comment")
    Observable<ResultResponse<Article>> replyArticle(@Field("uid") long uid,
                                                     @Field("circleId") long circleId,
                                                     @Field("content") String content);

    //话题日记回复的回复
    @FormUrlEncoded
    @POST("api/Circle/Comment")
    Observable<ResultResponse<Article>> replyComment(@Field("uid") long uid,
                                                     @Field("circleId") long circleId,
                                                     @Field("commentId") int commentId,
                                                     @Field("content") String content);

    //点赞收藏
    @FormUrlEncoded
    @POST("api/Circle/Like")
    Observable<ResultResponse<Article>> praise(@Field("uid") long uid,
                                               @Field("circleId") long circleId,
                                               @Field("type") int type);

    //上一篇/下一篇
    @GET("api/Circle/next")
    Observable<ResultResponse<Article>> getNextArticle(@Query("id") long circleId,
                                                       @Query("type") int type);

    //评论和@
    @GET("api/Circle/comment-me")
    Observable<ResultResponse<List<Comment>>> getCommentList(@Query("currentPage") int currentPage,
                                                             @Query("uid") long uid,@Query("order") String order);

    //我评论的和评论我的
    @GET("api/Circle/reply")
    Observable<ResultResponse<List<Comment>>> getCommentMeOther(@Query("currentPage") int currentPage,
                                                             @Query("uid") long uid,@Query("order") String order);

    //评论和@
    @GET("api/live/record/page")
    Observable<ResultResponse<List<LivePersonBean>>> getLiveList(@Query("currentPage") int currentPage,
                                                                 @Query("uid") long uid,@Query("order") String order);
    //热门搜索
    @GET("api/search-history/list")
    Observable<ResultResponse<List<String>>> getHistoryList();

    //关注用户
    @FormUrlEncoded
    @POST("api/UserFollow")
    Observable<ResultResponse<String>> followUser(@Field("uid") long uid,
                                                  @Field("followUid") long followUid);

    //获取直播间的用户
    @GET("api/live/user/list")
    Observable<ResultResponse<List<LiveUserBean>>> getLiveUser(@QueryMap Map<String, Object> map);

    //退出直播间
    @POST("api/live/out")
    Observable<ResultResponse<String>> exitLive(@QueryMap Map<String, Object> map);

    @FormUrlEncoded
    @PUT("api/live/end")
    Observable<ResultResponse<Object>> exitFinishLive(@Field("id") long id );

    //获取送礼物列表
    @GET("api/user-gift/gift")
    Observable<ResultResponse<List<GiftBean>>> getGiftList();


    //礼物列表
    @GET("api/user-gift/list")
    Observable<ResultResponse<List<GiftBean>>> getGiftListLift(@QueryMap Map<String, Object> map);
    //发布日记，话题


    @FormUrlEncoded
    @POST("api/Circle")
    Observable<ResultResponse<Article>> publicArticle(@FieldMap Map<String, Object> map);

    //获取标签列表
    @GET("api/Circle/tag")
    Observable<ResultResponse<List<Label>>> getArticleLabel();

    //上传文件
    @POST("file/file")
    Observable<ResultResponse<String>> uploadFile(@Body RequestBody body);

    //上传文件
    @POST("api/AI/shetou")
    Observable<ResultResponse<String>> checkTongue(@Body RequestBody body);


    //获取我收藏,点赞,关注的话题日志列表(分页)
    @GET("api/Circle/My/LikePage")
    Observable<ResultResponse<List<Article>>> getRecentMessageList(@QueryMap Map<String, Object> map);


    //赞和收藏,关注 我发布的日记话题
    @GET("api/Circle/LikeAndCollection")
    Observable<ResultResponse<List<Circle>>> getMessageList(@QueryMap Map<String, Object> map);

    //关注,收藏,点赞和评论我的
    @GET("api/Circle/commet-like-me")
    Observable<ResultResponse<List<Circle>>> getAttentColAll(@QueryMap Map<String, Object> map);

    //获取@我评论(分页)
    @GET("api/Circle/comment-me")
    Observable<ResultResponse<List<Article>>> getWMessageList(@QueryMap Map<String, Object> map);

    //获取@我评论(分页)
    @GET("api/Circle/comment-me")
    Observable<ResultResponse<List<CommentMessageBean>>> getWMAboutMe(@QueryMap Map<String, Object> map);


    //获取我关注的直播列表(分页)
    @GET("api/live/follow/page")
    Observable<ResultResponse<List<LiveBean>>> getRecomedList(@QueryMap Map<String, Object> map);


    //获取身份认证
    @GET("api/WebUser/RealAuth")
    Observable<ResultResponse<List<LiveBean>>> getIdentification(@QueryMap Map<String, Object> map);
}
